home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Flushed Away Press Kit
/
FLUSHED AWAY.iso
/
pc
/
main.dxr
/
SCRIPTS_58_textScript.ls
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2006-10-04
|
829 b
|
24 lines
property fileSeperator, fileFolder
global downloadList
on beginSprite me
fileSeperator = fileSeperator()
if downloadList.count = 0 then
else
repeat with x = 1 to downloadList.count
saveFile = the moviePath & downloadList[x][1] & fileSeperator & downloadList[x][2] & "." & downloadList[x][3]
fileSize = baFileSize(saveFile)
totalSize = totalSize + fileSize
end repeat
set the floatPrecision to 1
totalSize = float(totalSize) / float(1000000)
fileCount = downloadList.count
if fileCount = 1 then
files = "file,"
else
files = "files,"
end if
member("textBox").text = "You have selected" && fileCount && files && "which will take up approximately" && totalSize && "MB of space on your hard drive. Please choose from one of the following options:"
end if
end